
@cd%CFG_DIR%\FLD


@if exist bdt.fld del bdt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file bdt.fld
@%SPTOOLS%\gendata -q %FMT% bdtfld.txt
@rename fielddef.dat bdt.fld
@copy BDT.FLD %SPFILES%
@del BDT.FLD 

@if exist cct.fld del cct.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file cct.fld
@%SPTOOLS%\gendata -q %FMT% cctfld.txt
@rename fielddef.dat cct.fld
@copy CCT.FLD %SPFILES%
@del CCT.FLD 

@if exist cdt.fld del cdt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file cdt.fld
@%SPTOOLS%\gendata -q %FMT% cdtfld.txt
@rename fielddef.dat cdt.fld 
@copy CDT.FLD %SPFILES%
@del CDT.FLD 
 
@if exist cst.fld del cst.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file cst.fld
@%SPTOOLS%\gendata -q %FMT% cstfld.txt
@rename fielddef.dat cst.fld
@copy CST.FLD %SPFILES%
@del CST.FLD 

 
@if exist hdt.fld del hdt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file hdt.fld
@%SPTOOLS%\gendata -q %FMT% hdtfld.txt
@rename fielddef.dat hdt.fld
@copy HDT.FLD %SPFILES%
@del HDT.FLD

@if exist tcp.fld del tcp.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file tcp.fld
@%SPTOOLS%\gendata -q %FMT% tcpfld.txt
@rename fielddef.dat tcp.fld
@copy TCP.FLD %SPFILES%
@del TCP.FLD

@if exist gpt.fld del gpt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file gpt.fld
@%SPTOOLS%\gendata -q %FMT% gptfld.txt
@rename fielddef.dat gpt.fld
@copy GPT.FLD %SPFILES%
@del GPT.FLD

@if exist mgt.fld del mgt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file mgt.fld
@%SPTOOLS%\gendata -q %FMT% mgtfld.txt
@rename fielddef.dat mgt.fld
@copy MGT.FLD %SPFILES%
@del MGT.FLD

@if exist sig.fld del sig.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file sig.fld
@%SPTOOLS%\gendata -q %FMT% sigfld.txt
@rename fielddef.dat sig.fld
@copy sig.FLD %SPFILES%
@del sig.FLD

@if exist ett.fld del ett.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file ett.fld
@%SPTOOLS%\gendata -q %FMT% ettfld.txt
@rename fielddef.dat ett.fld
@copy ett.FLD %SPFILES%
@del ett.FLD


@if exist iit.fld del iit.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file iit.fld
@%SPTOOLS%\gendata -q %FMT% iitfld.txt
@rename fielddef.dat iit.fld
@copy IIT.FLD %SPFILES%
@del IIT.FLD 

@if exist lct.fld del lct.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file lct.fld
@%SPTOOLS%\gendata -q %FMT% lctfld.txt
@rename fielddef.dat lct.fld
@copy LCT.FLD %SPFILES%
@del LCT.FLD 


@if exist mht.fld del mht.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file mht.fld
@%SPTOOLS%\gendata -q %FMT% mhtfld.txt
@rename fielddef.dat mht.fld
@copy MHT.FLD %SPFILES%
@del MHT.FLD 

@if exist mit.fld del mit.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file mit.fld
@%SPTOOLS%\gendata -q %FMT% mitfld.txt
@rename fielddef.dat mit.fld
@copy MIT.FLD %SPFILES%
@del MIT.FLD 

@if exist pct.fld del pct.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file pct.fld
@%SPTOOLS%\gendata -q %FMT% pctfld.txt
@rename fielddef.dat pct.fld
@copy PCT.FLD %SPFILES%
@del PCT.FLD 


@if exist tct.fld del tct.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file tct.fld
@%SPTOOLS%\gendata -q %FMT% tctfld.txt
@rename fielddef.dat tct.fld
@copy TCT.FLD %SPFILES%
@del TCT.FLD 



@if exist dct.fld del dct.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file dct.fld
@%SPTOOLS%\gendata -q %FMT% dctfld.txt
@rename fielddef.dat dct.fld
@copy DCT.FLD %SPFILES%
@del DCT.FLD 

@if exist cpt.fld del cpt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file cpt.fld
@%SPTOOLS%\gendata -q %FMT% cptfld.txt
@rename fielddef.dat cpt.fld
@copy CPT.FLD %SPFILES%
@del CPT.FLD 

@if exist pit.fld del pit.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file pit.fld
@%SPTOOLS%\gendata -q %FMT% pitfld.txt
@rename fielddef.dat pit.fld
@copy PIT.FLD %SPFILES%
@del PIT.FLD 

@if exist aat.fld del aat.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file aat.fld
@%SPTOOLS%\gendata -q %FMT% aatfld.txt
@ren fielddef.dat AAT.FLD
@copy AAT.FLD %SPFILES%
@del AAT.FLD


@if exist est.fld del est.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file est.fld
@%SPTOOLS%\gendata -q %FMT% estfld.txt
@ren fielddef.dat EST.FLD
@rename est.fld est.fld
@copy EST.FLD %SPFILES%
@del EST.FLD 

@if exist mvt.fld del mvt.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file mvt.fld
@%SPTOOLS%\gendata -q %FMT% mvtfld.txt
@ren fielddef.dat MVT.FLD
@rename mvt.fld mvt.fld
@copy MVT.FLD %SPFILES%
@del MVT.FLD 

@if exist MNU.fld del MNU.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file MNU.fld
@%SPTOOLS%\gendata -q %FMT% MNUfld.txt
@rename fielddef.dat MNU.fld
@copy MNU.FLD %SPFILES%
@del MNU.FLD 

@if exist PCL.fld del PCL.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file PCL.fld
@%SPTOOLS%\gendata -q %FMT% PCLfld.txt
@rename fielddef.dat PCL.fld
@copy PCL.FLD %SPFILES%
@del PCL.FLD 

@if exist CTL.fld del CTL.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file CTL.fld
@%SPTOOLS%\gendata -q %FMT% CTLfld.txt
@rename fielddef.dat CTL.fld
@copy CTL.FLD %SPFILES%
@del CTL.FLD 

@cd\Softpay\%SP_VER%\HOSTSRC\CPACSRC

@if exist CPAC.fld del CPAC.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file CPAC.fld
@%SPTOOLS%\gendata -q %FMT% CPACfld.txt
@ren fielddef.dat CPAC.FLD
@copy CPAC.FLD %SPFILES%
@del CPAC.FLD

@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file CPACtrt.fld
@%SPTOOLS%\gendata -q %FMT% cpacfld.txt
@ren fielddef.dat CPACtrt.FLD
@rename CPACtrt.fld CPACtrt.fld
@copy CPACtrt.FLD %SPFILES%
@del CPACTRT.FLD 


@cd\Softpay\%SP_VER%\HOSTSRC\CITISRC

@if exist CITI.fld del CITI.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file CITI.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat CITI.FLD
@copy CITI.FLD %SPFILES%
@del CITI.FLD

@if exist HST1.fld del HST1.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file HST1.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat HST1.FLD
@copy HST1.FLD %SPFILES%\Host
@del HST1.FLD

@if exist HST2.fld del HST2.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file HST2.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat HST2.FLD
@copy HST2.FLD %SPFILES%\Host
@del HST2.FLD

@if exist HST3.fld del HST3.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file HST3.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat HST3.FLD
@copy HST3.FLD %SPFILES%\Host
@del HST3.FLD

@if exist HST4.fld del HST4.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file HST4.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat HST4.FLD
@copy HST4.FLD %SPFILES%\Host
@del HST4.FLD

@if exist HST5.fld del HST5.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file HST5.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat HST5.FLD
@copy HST5.FLD %SPFILES%\Host
@del HST5.FLD

@if exist HST6.fld del HST6.fld
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file HST6.fld
@%SPTOOLS%\gendata -q %FMT% CITIfld.txt
@ren fielddef.dat HST6.FLD
@copy HST6.FLD %SPFILES%\Host
@del HST6.FLD

@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file CITItrt.fld
@%SPTOOLS%\gendata -q %FMT% citifld.txt
@ren fielddef.dat CITItrt.FLD
@rename CITItrt.fld CITItrt.fld
@copy CITItrt.FLD %SPFILES%
@del CITITRT.FLD 



@cd%SRC_ROOT%\control
@if exist fielddef.dat del fielddef.dat
@echo.
@echo *** Generating data file CITItrt.fld
@%SPTOOLS%\gendata -q %FMT% fctfld.txt
@ren fielddef.dat fct.FLD
@rename FCT.fld fct.fld
@copy fct.FLD %SPFILES%
@del fct.FLD 


@cd%SP_ROOT%\projects\%SP_PROJ%\bld

